<%--
  Created by IntelliJ IDEA.
  User: e575
  Date: 2019/5/24
  Time: 9:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page isELIgnored="false" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="author" content="order by dede58.com"/>
    <title>个人信息</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/common/layui/css/layui.css"
          media="all">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/common/bootstrap/css/bootstrap.css"
          media="all">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/common/global.css" media="all">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/personal.css" media="all">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/fenye.css">
</head>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery2.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/Rehired/rehired.js"></script>
<body>
<section class="layui-larry-box">
    <div align="center" style="font-size: 2em;height: 60px">返聘</div>
    <div class="larry-personal">
        <div class="layui-tab">
            <blockquote class="layui-elem-quote news_search">
                <div class="layui-inline">
                    <form id="empselect">
                        <%--分页用的用于传值--%>
                        <input type="text" hidden name="i" value="1">
                        <%--按钮值传入input--%>
                        <input type="text" hidden name="state" value="">
                        <%--跳转input框--%>
                        <input type="text" hidden name="reverse" value="">
                        <script src="js/input.js"></script>
                        姓名:
                        <div class="layui-input-inline">
                            <input name="empname" value="" placeholder="姓名" class="layui-input search_input"
                                   type="text">
                        </div>
                        部门:
                        <div class="layui-input-inline" class="layui-input search_input">
                            <select name="departId" id="dep" class="layui-input search_input">
                                <option value="">--请选择--</option>

                            </select>
                        </div>
                        性别:
                        <div class="layui-input-inline">
                            <select name="sex" class="layui-input search_input">
                                <option value="">--请选择--</option>
                                <option value="男">男</option>
                                <option value="女">女</option>
                            </select>
                        </div>
                        职位:
                        <div class="layui-input-inline" class="layui-input search_input">
                            <select name="ductId" class="layui-input search_input">
                                <option value="">--请选择--</option>

                            </select>
                        </div>
                        职称:
                        <div class="layui-input-inline">
                            <select name="jobId" class="layui-input search_input">
                                <option value="">--请选择--</option>

                            </select>
                        </div>
                        学历:
                        <div class="layui-input-inline">
                            <select name="education" class="layui-input search_input">
                                <option value="">--请选择--</option>
                                <option value="初中">初中</option>
                                <option value="高中">高中</option>
                                <option value="大学">大学</option>
                                <option value="高等">高等</option>
                            </select>
                        </div>
                    </form>
                </div>
                <button id="select" class="layui-btn">查询</button>
            </blockquote>

            <!-- 操作日志 -->
            <div class="layui-form news_list">
                <table class="layui-table">
                    <thead>
                    <tr>
                        <th>序号</th>
                        <th>人员编号</th>
                        <th>人员姓名</th>
                        <th>所在部门</th>
                        <th>所在职位</th>
                        <th>性别</th>
                        <th>身份证号</th>
                        <th>出生日期</th>
                        <th>学历</th>
                        <th>职称</th>
                        <th>办公电话</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody id="tbd" class="news_content">

                    </tbody>
                </table>
                <div align="center">
                    <div class="layui-btn-group">
                        <button value="首页" class="layui-btn layui-btn-small layui-btn-primary"><i
                                class="layui-icon">首页</i></button>
                        <button value="上一页" class="layui-btn layui-btn-small layui-btn-primary"><i class="layui-icon">&#xe603;</i>
                        </button>
                        <button value="下一页" class="layui-btn layui-btn-small layui-btn-primary"><i class="layui-icon">&#xe602;</i>
                        </button>
                        <button value="尾页" class="layui-btn layui-btn-small layui-btn-primary"><i
                                class="layui-icon">尾页</i></button>
                        输入页数:<input type="text" name="reversex" style="width: 45px"/>
                        <button value="跳转" class="layui-btn layui-btn-small layui-btn-primary"><i
                                class="layui-icon">跳转</i></button>
                    </div>
                </div>
                <br><br><br><br><br><br><br><br><br><br><br><br><br><br>
            </div>
        </div>
</section>
<script>
    $(function () {
        list();
        deptlist();
        ductlist();
        joblist();
        select();
        $("#select").on({
            "click": function () {
                list();
            }
        });
        $(".layui-btn.layui-btn-small.layui-btn-primary").on({
            "click": function () {
                $("[name=state]").val($(this).val());
                $("[name=reverse]").val($("[name=reversex]").val())
                list();
            }
        });
    });
</script>

</body>
</html>